package com.checkchan.ethshare.service.user;

import com.checkchan.ethshare.model.AccountInfo;
import com.checkchan.ethshare.util.Web3jClient;
import org.web3j.protocol.Web3j;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.List;

/**
 * 账户相关的业务
 */
public interface AccountService {

    List<String> getAccountList();

    String createAccount(String name, String password, AccountInfo accountInfo);

    AccountInfo getAccountInfo(String accountAddress);

    String checkAccount(String accountAddress);

    BigDecimal getBalance(String accountAddress);
}
